using System;
using System.Runtime.Serialization;

using SIMA.Core.Attributes;
using SIMA.Core.Data.Validators;
using SIMA.Core.Data.Entity;

namespace SIMA.Entities
{
	[Table("T_C_Equipo")]
	[Serializable]
	public class T_C_Equipo:XmlEntity
	{

		[DataMember]
		[PrimaryKey("Id_Equipo")]
		public string Id_Equipo{get; set;}
		[DataMember]
		[DataField("EquipoPadre")]
		public string EquipoPadre{get; set;}
		[DataMember]
		[DataField("Descripcion")]
		public string Descripcion{get; set;}
		[DataMember]
		[DataField("Id_Marca")]
		[Numeric]
		public int Id_Marca{get; set;}
		[DataMember]
		[DataField("Id_Modelo")]
		[Numeric]
		public int Id_Modelo{get; set;}
		[DataMember]
		[DataField("Serie")]
		public string Serie{get; set;}
		[DataMember]
		[DataField("Costo")]
		public double Costo{get; set;}
		[DataMember]
		[DataField("Id_Estado")]
		[Numeric]
		public int Id_Estado{get; set;}
		[DataMember]
		[DataField("Fecha_Registro")]
		public DateTime Fecha_Registro{get; set;}
		[DataMember]
		[DataField("Fecha_Adquisicion")]
		public DateTime Fecha_Adquisicion{get; set;}
		[DataMember]
		[DataField("Id_Area")]
		public string Id_Area{get; set;}
		[DataMember]
		[DataField("MaxHoras")]
		[Numeric]
		public int MaxHoras{get; set;}
		[DataMember]
		[DataField("UsoUnico")]
		public bool UsoUnico{get; set;}
		[DataMember]
		[DataField("Nivel")]
		[Numeric]
		public int Nivel{get; set;}
		[DataMember]
		[DataField("Stock")]
		[Numeric]
		public int Stock{get; set;}
		[DataMember]
		[DataField("T_C_Equipo_Id_Equipo")]
		public string T_C_Equipo_Id_Equipo{get; set;}
		[DataMember]
		[DataField("T_C_Modelo_Id_Modelo")]
		public bool T_C_Modelo_Id_Modelo{get; set;}
		[DataMember]
		[DataField("T_C_Area_Id_Area")]
		public string T_C_Area_Id_Area{get; set;}
	}
}
